import Vue from 'vue'
import App from '@/App'
import store from '@/store'
// import '@/utils/wxPromise.min.js'

Vue.config.productionTip = false

// import IboxPlugin from '@/plugins/ibox'
// Vue.use(IboxPlugin)

const app = new Vue({
    store,
    ...App
})

app.$mount()

export default {
    config: {
        pages: ['^pages/center/login'],
        window: {
            backgroundTextStyle: 'light',
            backgroundColor: '#efefef',
            navigationBarBackgroundColor: '#fff',
            navigationBarTitleText: 'WeChat',
            navigationBarTextStyle: 'black'
        },
        tabBar: {
            color: '#949494',
            selectedColor: '#1886FF',
            borderStyle: 'white',
            backgroundColor: '#fff',
            list: [
                {
                    text: '理赔',
                    pagePath: 'pages/claim/index',
                    iconPath: 'static/image/claim.png',
                    selectedIconPath: 'static/image/claim-active.png'
                },
                {
                    text: '办入保',
                    pagePath: 'pages/getInsurance/index',
                    iconPath: 'static/image/getInsurance.png',
                    selectedIconPath: 'static/image/getInsurance-active.png'
                },
                {
                    text: '办退保',
                    pagePath: 'pages/surrender/index',
                    iconPath: 'static/image/surrender.png',
                    selectedIconPath: 'static/image/surrender-active.png'
                },
                {
                    text: '管理中心',
                    pagePath: 'pages/center/index',
                    iconPath: 'static/image/center.png',
                    selectedIconPath: 'static/image/center-active.png'
                }
            ]
        }
    }
}
